package cn.kimming.common.dto;

import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import javax.validation.constraints.NotNull;
import java.io.Serializable;
import java.math.BigDecimal;
import java.util.Date;

/**
 * RoomPlanDTO
 * @author KimmingLau
 */
@Data
public class RoomPlanDTO implements Serializable {
    /**
     * 当天价格
     */
    @NotNull(message = "price is not null")
    private BigDecimal price;

    /**
     * 当前折扣
     */
    @NotNull(message = "discount is not null")
    private Double discount;

    /**
     * 价格对应日期
     */
    @NotNull(message = "futureDate is not null")
    private Date futureDate;


    /**
     * 价格对应房型
     */
    @NotNull(message = "roomTypeId is not null")
    private Long roomTypeId;

    private static final long serialVersionUID = 1L;
}